Skip to content

prompt for account name instead of overwriting existing login accounts#109

Merged
jbj338033 merged 1 commit into
mainfrom
worktree-multi-provider
Jul 7, 2026
Merged

prompt for account name instead of overwriting existing login accounts#109
jbj338033 merged 1 commit into
mainfrom
worktree-multi-provider

Conversation

@jbj338033

Copy link
Copy Markdown
Collaborator

Summary

goat provider login and goat search login used to store credentials under a fixed default account when --account was omitted, silently overwriting an existing account. This adds a shared resolve_account flow: an explicit --account name updates that slot; the first account keeps the default name; and when accounts already exist without a name, interactive callers pick an existing account (update) or add a new one (with confirm on collision) while non-interactive callers error and point to --account.

Verification

  • cargo fmt --all --check — passed
  • cargo clippy --workspace --all-targets -- -D warnings — passed
  • cargo test --workspace — passed

@jbj338033 jbj338033 merged commit 5d3136f into main Jul 7, 2026
4 of 5 checks passed
@jbj338033 jbj338033 deleted the worktree-multi-provider branch July 7, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant